<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
	</head>
	<body>
		<div class="content">
			<img class="logo" src="img/logo.jpg"/>
			<h1>需求表单(公关活动)</h1>
			<div class="underline"></div>
				
				<div class="time">
					<div class="input_25 fl">
						<span>执行时间:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
						<span id="time" class="border"></span>
					</div>
					
					<div class="input_25 fl margin_b20">
						<span>费用预算:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
						<span id="budget" class="border"></span>
					</div>
					
					<div class="clear"></div>
					
					<div class="margin_b20">
						<span>验收标准:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
						<span id="standard" class="border"></span>
					</div>
				</div>
				
				<div class="title fl">具体需求&nbsp;&nbsp;&nbsp;</div>
				<span id="content_1" class="border"></span>
				
				<div class="clear"></div>
				<br />
				<div class="space_14">
				
					<div class="title fl">跟进内容&nbsp;&nbsp;&nbsp;</div>
					<span id="content_2" class="border"></span>
					
					<br />
				</div>
				<div class="time">
					<div class="title fl">图片:&nbsp;&nbsp;&nbsp;</div>
					<div id='filebox'></div>
				</div>
			
		</div>
		
		<script src="js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/common.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			
			var sn = GetArgsFromHref(window.location.href,'sn');
//			var _thisurl = "/insight20170612_supplier/app/index.php?g=&m=Index&a=detail";
			
			$.ajax({
				type:"post",
				url:'./app/index.php?m=public&a=detail',
				data:{'sn':sn},
				success:function(ret){
					var time = ret.detail.time;
					var budget = ret.detail.budget;
					var standard = ret.detail.standard;
					var content_1 = ret.detail.content_1;
					var content_2 = ret.detail.content_2;
					$("#time").html(time);
					$("#budget").html(budget);
					$("#standard").html(standard);
					$("#content_1").html(content_1);
					$("#content_2").html(content_2);
					
					detail_show_file("#filebox",ret.detail.file.file_upload_fan);
				}
			});
		</script>
	</body>
</html>